from fastapi import APIRouter
from app.core.dependency import DependPermisson
from .exam import exam_router
from .question import question_router
from .result import result_router
from .user_answer import user_answer_router

exams_router = APIRouter()
exams_router.include_router(exam_router, prefix="/exam", tags=["后端-试卷模块"], dependencies=[DependPermisson])
exams_router.include_router(question_router, prefix="/question", tags=["后端-题目模块"], dependencies=[DependPermisson])
exams_router.include_router(result_router, prefix="/result", tags=["后端-结果模块"], dependencies=[DependPermisson])
exams_router.include_router(user_answer_router, prefix="/user_answer", tags=["后端-用户回卷模块"], dependencies=[DependPermisson])